[INFO] cloning repository https://github.com/Prakhar-FF13/Learning-Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Prakhar-FF13/Learning-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrakhar-FF13%2FLearning-Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrakhar-FF13%2FLearning-Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aa7496dba0979c893d24b72637afb46fcc9ad253
[INFO] fixing Prakhar-FF13/Learning-Rust against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrakhar-FF13%2FLearning-Rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Prakhar-FF13/Learning-Rust
[INFO] finished tweaking git repo https://github.com/Prakhar-FF13/Learning-Rust
[INFO] tweaked toml for git repo https://github.com/Prakhar-FF13/Learning-Rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Prakhar-FF13/Learning-Rust on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Prakhar-FF13/Learning-Rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4f893d337b3289e529520d1ecf45765a8f76d178542dc686410a77d4e33ac0f8
[INFO] running `Command { std: "docker" "start" "4f893d337b3289e529520d1ecf45765a8f76d178542dc686410a77d4e33ac0f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4f893d337b3289e529520d1ecf45765a8f76d178542dc686410a77d4e33ac0f8" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4f893d337b3289e529520d1ecf45765a8f76d178542dc686410a77d4e33ac0f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4f893d337b3289e529520d1ecf45765a8f76d178542dc686410a77d4e33ac0f8" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating hello_world/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating variables/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating memory_management/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating stdin-out/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating library/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating dependency/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating enumerations/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating strcutures/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating vectors/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating hashmaps/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating serialize-deserialize/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating threads/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating atomics_and_locks/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling serde v1.0.209
[INFO] [stderr]    Compiling serde_json v1.0.127
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]     Checking library v0.1.0 (/opt/rustwide/workdir/library)
[INFO] [stderr]     Checking hashmaps v0.1.0 (/opt/rustwide/workdir/hashmaps)
[INFO] [stderr]     Checking lessons v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking strcutures v0.1.0 (/opt/rustwide/workdir/strcutures)
[INFO] [stderr]     Checking threads v0.1.0 (/opt/rustwide/workdir/threads)
[INFO] [stderr]     Checking enumerations v0.1.0 (/opt/rustwide/workdir/enumerations)
[INFO] [stderr]     Checking vectors v0.1.0 (/opt/rustwide/workdir/vectors)
[INFO] [stderr]     Checking atomics_and_locks v0.1.0 (/opt/rustwide/workdir/atomics_and_locks)
[INFO] [stderr]    Migrating library/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]     Checking hello_world v0.1.0 (/opt/rustwide/workdir/hello_world)
[INFO] [stderr]     Checking stdin-out v0.1.0 (/opt/rustwide/workdir/stdin-out)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]     Checking dependency v0.1.0 (/opt/rustwide/workdir/dependency)
[INFO] [stderr]    Migrating vectors/src/main.rs from 2021 edition to 2024
[INFO] [stderr]     Checking memory_management v0.1.0 (/opt/rustwide/workdir/memory_management)
[INFO] [stderr]    Migrating atomics_and_locks/src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> atomics_and_locks/src/main.rs:27:24
[INFO] [stdout]    |
[INFO] [stdout] 27 |         println!("{}", COUNTER);
[INFO] [stdout]    |                        ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating hashmaps/src/main.rs from 2021 edition to 2024
[INFO] [stderr]     Checking variables v0.1.0 (/opt/rustwide/workdir/variables)
[INFO] [stderr]    Migrating threads/src/main.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating strcutures/src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> atomics_and_locks/src/main.rs:27:24
[INFO] [stdout]    |
[INFO] [stdout] 27 |         println!("{}", COUNTER);
[INFO] [stdout]    |                        ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Migrating enumerations/src/main.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating hello_world/src/main.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating stdin-out/src/main.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating dependency/src/main.rs from 2021 edition to 2024
[INFO] [stderr]    Compiling syn v2.0.76
[INFO] [stderr]    Migrating memory_management/src/main.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating variables/src/main.rs from 2021 edition to 2024
[INFO] [stderr]    Compiling serde_derive v1.0.209
[INFO] [stderr]     Checking serialize-deserialize v0.1.0 (/opt/rustwide/workdir/serialize-deserialize)
[INFO] [stderr]    Migrating serialize-deserialize/src/main.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.79s
[INFO] [stderr] crater-edition-check: hello_world v0.1.0 (/opt/rustwide/workdir/hello_world) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: variables v0.1.0 (/opt/rustwide/workdir/variables) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: memory_management v0.1.0 (/opt/rustwide/workdir/memory_management) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: stdin-out v0.1.0 (/opt/rustwide/workdir/stdin-out) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: library v0.1.0 (/opt/rustwide/workdir/library) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: dependency v0.1.0 (/opt/rustwide/workdir/dependency) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: enumerations v0.1.0 (/opt/rustwide/workdir/enumerations) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: strcutures v0.1.0 (/opt/rustwide/workdir/strcutures) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: vectors v0.1.0 (/opt/rustwide/workdir/vectors) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: hashmaps v0.1.0 (/opt/rustwide/workdir/hashmaps) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: serialize-deserialize v0.1.0 (/opt/rustwide/workdir/serialize-deserialize) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: threads v0.1.0 (/opt/rustwide/workdir/threads) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: atomics_and_locks v0.1.0 (/opt/rustwide/workdir/atomics_and_locks) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: lessons v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking library v0.1.0 (/opt/rustwide/workdir/library)
[INFO] [stderr]     Checking memory_management v0.1.0 (/opt/rustwide/workdir/memory_management)
[INFO] [stderr]     Checking vectors v0.1.0 (/opt/rustwide/workdir/vectors)
[INFO] [stderr]     Checking stdin-out v0.1.0 (/opt/rustwide/workdir/stdin-out)
[INFO] [stderr]     Checking strcutures v0.1.0 (/opt/rustwide/workdir/strcutures)
[INFO] [stderr]     Checking enumerations v0.1.0 (/opt/rustwide/workdir/enumerations)
[INFO] [stderr]     Checking atomics_and_locks v0.1.0 (/opt/rustwide/workdir/atomics_and_locks)
[INFO] [stderr]     Checking lessons v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking hashmaps v0.1.0 (/opt/rustwide/workdir/hashmaps)
[INFO] [stderr]     Checking serialize-deserialize v0.1.0 (/opt/rustwide/workdir/serialize-deserialize)
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> atomics_and_locks/src/main.rs:27:24
[INFO] [stdout]    |
[INFO] [stdout] 27 |         println!("{}", COUNTER);
[INFO] [stdout]    |                        ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `atomics_and_locks` (bin "atomics_and_locks" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> atomics_and_locks/src/main.rs:27:24
[INFO] [stdout]    |
[INFO] [stdout] 27 |         println!("{}", COUNTER);
[INFO] [stdout]    |                        ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `atomics_and_locks` (bin "atomics_and_locks") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "4f893d337b3289e529520d1ecf45765a8f76d178542dc686410a77d4e33ac0f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f893d337b3289e529520d1ecf45765a8f76d178542dc686410a77d4e33ac0f8", kill_on_drop: false }`
[INFO] [stdout] 4f893d337b3289e529520d1ecf45765a8f76d178542dc686410a77d4e33ac0f8
